package com.book.manager.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: yfan-chen
 * @description:
 * @create: 2021-08-31 22:21
 **/
@Data
public class User {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键Id")
    private Integer userId;
    @ApiModelProperty(value = "学生学号")
    private String userNo;
    @ApiModelProperty(value = "学生姓名")
    private String userName;
    @ApiModelProperty(value = "密码")
    private String pwd;
    @ApiModelProperty(value = "1：男；2：女")
    private String gender;

    @ApiModelProperty(value = "createTime")
    private Long createTime;
    @ApiModelProperty(value = "updateTime")
    private Long updateTime;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "有效性")
    private Integer isValid;
}
